package com.brigadeba.framework.tests;

import org.springframework.context.*;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.brigadeba.framework.service.TeamManager;

public class TestBrigade {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		 //initialize the spring container
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-jdbc.xml");
        TeamManager tm = (TeamManager) context.getBean("TeamManager");
        tm.printTeamList();
        tm.printPlayerList();
	}

}
